package com.qidi.dao;

import com.qidi.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;



/**
 * @author zhouXinBin
 * @create 2020-11-04-0:05
 */

@Mapper
@Repository
public interface UserMapper {
    public void add(User user);
    public User getByusername(@Param("username")String username);
    public User getByUsernamePassword(@Param("username")String username,@Param("password") String password);
}
